package com.ruoyi.bpm.controller.admin.oa.vo;

import com.ruoyi.common.core.core.page.PageDomain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 请假申请分页 Request VO")
@Data
public class BpmOALeavePageReqVO extends PageDomain {

    @Schema(description = "状态", example = "1")
    private Integer status; // 参见 BpmProcessInstanceResultEnum 枚举

    @Schema(description = "请假类型，参见 bpm_oa_type", example = "1")
    private Integer type;

    @Schema(description = "原因，模糊匹配", example = "阅读芋道源码")
    private String reason;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description = "申请时间")
    private LocalDateTime[] createTime;

}
